<template>
    <div class="search-list">
        <div class="headers">
        <Header></Header>
        <ul>
            <li>
                <div>综合</div>
            </li>
            <li>
                <div>价格</div>
                <div class="search-filter">
                    <i><van-icon name="arrow-up" /></i>
                    <i><van-icon name="arrow-down" /></i>
                </div>
            </li>
            <li>
                <div>销量</div>
                <div class="search-filter">
                    <i><van-icon name="arrow-up" /></i>
                    <i><van-icon name="arrow-down" /></i>
                </div>
            </li>
        </ul>
        </div>
        <section>
            <ul>
                <li>
                    <img src="@/assets/images/recommend1.jpg" alt="">
                    <h3>折叠书桌出租房高中学生简约写字学习桌电脑台式桌椅套装家用卧室</h3>
                    <div class="price">
                        <div>
                            <span>￥</span>
                            <b>59</b>
                        </div>
                        <div>立即购买</div>
                    </div>
                </li>
                <li>
                    <img src="@/assets/images/recommend1.jpg" alt="">
                    <h3>折叠书桌出租房高中学生简约写字学习桌电脑台式桌椅套装家用卧室</h3>
                    <div class="price">
                        <div>
                            <span>￥</span>
                            <b>59</b>
                        </div>
                        <div>立即购买</div>
                    </div>
                </li>
                <li>
                    <img src="@/assets/images/recommend1.jpg" alt="">
                    <h3>折叠书桌出租房高中学生简约写字学习桌电脑台式桌椅套装家用卧室</h3>
                    <div class="price">
                        <div>
                            <span>￥</span>
                            <b>59</b>
                        </div>
                        <div>立即购买</div>
                    </div>
                </li>
            </ul>
            
        </section>
         <!-- <Tabbar></Tabbar> -->
    </div>
</template>
<script>
import Vue from 'vue';
import { Icon } from 'vant';

Vue.use(Icon);
import Header from "@/components/search/Header.vue"
// import Tabbar from '@/components/common/Tabbar.vue'
export default {
    components:{
       
       Header,
        // Tabbar,
     
       
   },
}
</script>
<style>
.search-list{
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}
.headers ul{
display: flex;
justify-content: space-around;
padding: 10px 0;

}
.headers ul li{
display: flex;
align-items: center;
}
.headers ul li > div{
padding: 0 3px;
}
.headers ul li .search-filter{
display: flex;
flex-direction: column;

}

section{
    flex: 1;
    overflow: hidden;
    
}
section ul{

display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
section ul li{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    /* background-color: rgb(133, 172, 149); */
    padding: 10px;
    box-sizing: border-box;
}
section ul li img{
    width: 170px;
    height: 170px;
}
section ul li h3{
    font-size: 13px;
    font-weight: 550;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgb(158, 160, 118);
}
section ul li .price{
    padding: 10px 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}
section ul li .price div:last-child{
    padding: 3px 6px;
    color: aliceblue;
    background-color: rgb(74, 95, 68);
    font-size: 12px;
    border-radius:6px ;
}
section ul li .price div:first-child span{
color: rgb(188, 192, 118);
}
section ul li .price div:first-child b{
   color: rgb(170, 173, 100); 
}
</style>